#ifndef CTED_H
#define CTED_H
#include <windows.h>

class cTED{

public:
cTED();
~cTED();
HWND tMain;
HWND textpic;
sList cOffsets;
int Create();
char curtext[0x1000];
int DecodeText(u32 offset);
int LoadTable();
Image Text;
int CreateTextpicTileImage();
int Draw();
int EncodeText();
TileBuffer Tiles;
int BiCat(u16* val, char* character);
u32 ZMOffsets[16][0x200];
u32 Offsets[0x200];
sCombo cboTxt;
char table[0xFFFF][64];
u16  binarystring[1024];
u8    Graphics[0xF000];
long   FontPal[0x200];
long   txtlength;
int    ResetList();
char pixelflag;
};
#endif
